package br.com.felix.fwt.ui;

public enum EncType {
    /** All characters are encoded before sent (this is default)*/
    APPLICATION_X_WWW_FORM_URLENCODED("application/x-www-form-urlencoded"),
    /** No characters are encoded. This value is required when you are using forms that have a file upload control*/
    MULTIPART_FORM_DATA("multipart/form-data"),
    /** Spaces are converted to "+" symbols, but no special characters are encoded*/
    TEXT_PLAIN("text/plain");
    
    private String htmlValue;
    private EncType(String htmlValue){
        this.htmlValue = htmlValue;
    }
    
    public String toString(){
        return htmlValue;
    }
}

